package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 报警数据对象 alert_data
 *
 * @author ruoyi
 * @date 2025-05-05
 */
@ApiModel(description = "报警数据处理模型")
@Data
public class AlertDataDto {
    // 主键
    @ApiModelProperty("主键")
    private Long id;


    // 处理结果
    @Excel(name = "处理结果")
    @ApiModelProperty("处理结果")
    private String processingResult;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime processingTime;
}
